package com.FaceThingThird.InnterClass;

public class Outer {
    private int age=99;
    public static String a;
    //成员内部类
    public class Inner{
        private String name;
        private int age=88;

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        //public static String schoolName;//从JDK16开始才支持定义静态类成员。
        public void test(){
            System.out.println(age);
            System.out.println(a);
            int age=66;
            System.out.println(age);
            System.out.println(this.age);
            System.out.println(Outer.this.age);

        }

    }
}
